import request from "../utils/request";

// 获取数据+分页+搜索
export const apiComment = (data) => {
  return request({ url: "/api/comment", method: "post", data });
};

// 通过拒绝
export const apiPassOrRejectComment = (data) => {
  return request({ url: "/api/passOrRejectComment", method: "post", data });
};

// 删除
export const apiCommentDel = (data) => {
  return request({ url: "/api/commentDel", method: "post", data });
};
